package com.cmw.auntapp.constant;

/**
 * 业务API
 */
public class API extends BaseAPI{

    /**
     * App自动更新检查 API
     */
    public static final String APPUP_UPDATE_CHECK = "/v1/appups/update";

    /**
     * 省份数据 API
      */
    public static final String SYS_BASE_PROVINCE = "/v1/provinces/list";

    /**
     * 籍贯列表数据 API
     */
    public static final String SYS_BASE_NATIVE_PLACE = "/v1/citys/list";

    /**
     * 阿姨登录 API
     */
    public static final String USER_LOGIN = "/v1/members/login";

    /**
     * 阿姨登出 API
     */
    public static final String USER_LOGOUT = "/v1/members/exit";
    /**
     * 会员信息修改 API
     */
    public static final String USER_EDIT = "/v1/members";
    /**
     * 会员信息获取 API
     */
    public static final String USER_GET = "/v1/members/{id}";

    /**
     * 发送短信验证码 API
     */
    public static final String SMS_CODE_SEND = "/v1/msgs/member-code/{phone}";

    /**
     * 保存位置信息 API
     */
    public static final String LOCATION_SAVE = "/v1/locations/save";

    /**
     * 根据参数获取阿姨信息 API
     */
    public static final String AUNT_INFO_GET_PARS = "/v1/aunts";
    /**
     * 根据ID获取阿姨信息 API
     */
    public static final String AUNT_INFO_GET = "/v1/aunts/{id}";

    /**
     *  阿姨信息保存 API
     */
    public static final String AUNT_INFO_SAVE = "/v1/aunts/save";
    /**
     * 阿姨上/下岗 API
     */
    public static final String AUNT_WORK_STATUS_ON_UN = "/v1/aunts/work-status/{pstatus}";

    /**
     *  阿姨待抢订单数量 API
     */
    public static final String ORDER_AUNT_COUNT = "/v1/orders/count";
    /**
     *  阿姨抢单 API
     */
    public static final String ORDER_GRABBING = "/v1/orders/grabbing";
    /**
     *  订单分页查询 API
     */
    public static final String ORDER_LIST_GET = "/v1/orders/list";
    /**
     *  订单应收、已收合计 API
     */
    public static final String ORDER_SUM_GET = "/v1/orders/sum";

    /**
     *  根据订单ID获取订单信息 API
     */
    public static final String ORDER_INFO_GET = "/v1/orders/{id}";

    /**
     *  设置多久达到 API
     */
    public static final String ORDER_SET_ARRIVE_TIME = "/v1/orders/arrive-time/{id}";
    /**
     *  取消订单 API
     */
    public static final String ORDER_CANCEL = "/v1/orders/cancel";
    /**
     *  更新订单状态 API
     */
    public static final String ORDER_XSTATUS_UPDATE = "/v1/orders/xstatus/{id}/{xstatus}";

    /**
     *  每日结算分页查询 API
     */
    public static final String DAY_SETTLE_LIST_GET = "/v1/amountthansfers/list";
    /**
     *  每日结算应收、已收、未收合计 API
     */
    public static final String DAY_SETTLE_SUM_GET = "/v1/amountthansfers/sum";

    /**
     * 上传附件 API
     */
    public static final String ATTACHMENT_UPLOAD = "/v1/attachments/upload";

    /**
     * 根据附件ID获取或删除附件信息 API
     */
    public static final String ATTACHMENT_GET_DEL = "/v1/attachments/{id}";

    /**
     * 根据业务类型及ID获取附件信息 API
     */
    public static final String ATTACHMENT_LIST_GET = "/v1/attachments/list";

    /**
     * 获取协议文本内容
     */
    public static final String ATTACHMENT_TEXT_CONTENT = "/v1/attachments/form-type/{formType}";

}
